package com.example.myapplication.entity;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class Finance {

    @Id(autoincrement = true)
    private long id;
    private double income;//收入
    private Date incomeDate;//收入时间
    private String incomeRemarks;//收入说明
    private double pay;//支出
    private Date payDate;
    private String payRemarks;
    private double borrow;//借款
    private Date borrowDate;
    private double loan;//贷款
    private Date loanStart;
    private Date loanEnd;
    private String loanRemarks;
    private double rate;//利率
    @Generated(hash = 1116743677)
    public Finance(long id, double income, Date incomeDate, String incomeRemarks,
            double pay, Date payDate, String payRemarks, double borrow,
            Date borrowDate, double loan, Date loanStart, Date loanEnd,
            String loanRemarks, double rate) {
        this.id = id;
        this.income = income;
        this.incomeDate = incomeDate;
        this.incomeRemarks = incomeRemarks;
        this.pay = pay;
        this.payDate = payDate;
        this.payRemarks = payRemarks;
        this.borrow = borrow;
        this.borrowDate = borrowDate;
        this.loan = loan;
        this.loanStart = loanStart;
        this.loanEnd = loanEnd;
        this.loanRemarks = loanRemarks;
        this.rate = rate;
    }
    @Generated(hash = 1099590875)
    public Finance() {
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public double getIncome() {
        return this.income;
    }
    public void setIncome(double income) {
        this.income = income;
    }
    public Date getIncomeDate() {
        return this.incomeDate;
    }
    public void setIncomeDate(Date incomeDate) {
        this.incomeDate = incomeDate;
    }
    public double getPay() {
        return this.pay;
    }
    public void setPay(double pay) {
        this.pay = pay;
    }
    public Date getPayDate() {
        return this.payDate;
    }
    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }
    public double getBorrow() {
        return this.borrow;
    }
    public void setBorrow(double borrow) {
        this.borrow = borrow;
    }
    public Date getBorrowDate() {
        return this.borrowDate;
    }
    public void setBorrowDate(Date borrowDate) {
        this.borrowDate = borrowDate;
    }
    public double getLoan() {
        return this.loan;
    }
    public void setLoan(double loan) {
        this.loan = loan;
    }
    public Date getLoanStart() {
        return this.loanStart;
    }
    public void setLoanStart(Date loanStart) {
        this.loanStart = loanStart;
    }
    public Date getLoanEnd() {
        return this.loanEnd;
    }
    public void setLoanEnd(Date loanEnd) {
        this.loanEnd = loanEnd;
    }
    public double getRate() {
        return this.rate;
    }
    public void setRate(double rate) {
        this.rate = rate;
    }
    public String getPayRemarks() {
        return this.payRemarks;
    }
    public void setPayRemarks(String payRemarks) {
        this.payRemarks = payRemarks;
    }
    public String getIncomeRemarks() {
        return this.incomeRemarks;
    }
    public void setIncomeRemarks(String incomeRemarks) {
        this.incomeRemarks = incomeRemarks;
    }
    public String getLoanRemarks() {
        return this.loanRemarks;
    }
    public void setLoanRemarks(String loanRemarks) {
        this.loanRemarks = loanRemarks;
    }
}
